home *** CD-ROM | disk | FTP | other *** search
- # This file was created automatically by SWIG.
- import BaBxc
- class BitmapDataPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self):
- if self.thisown == 1 :
- BaBxc.delete_BitmapData(self.this)
- def __str__(self):
- val = BaBxc.BitmapData___str__(self.this)
- return val
- def __setattr__(self,name,value):
- if name == "InternalName" :
- BaBxc.BitmapData_InternalName_set(self.this,value)
- return
- if name == "BMPName" :
- BaBxc.BitmapData_BMPName_set(self.this,value)
- return
- if name == "BMPName2" :
- BaBxc.BitmapData_BMPName2_set(self.this,value)
- return
- if name == "Weight" :
- BaBxc.BitmapData_Weight_set(self.this,value)
- return
- self.__dict__[name] = value
- def __getattr__(self,name):
- if name == "InternalName" :
- return BaBxc.BitmapData_InternalName_get(self.this)
- if name == "BMPName" :
- return BaBxc.BitmapData_BMPName_get(self.this)
- if name == "BMPName2" :
- return BaBxc.BitmapData_BMPName2_get(self.this)
- if name == "Weight" :
- return BaBxc.BitmapData_Weight_get(self.this)
- raise AttributeError,name
- def __repr__(self):
- return "<C BitmapData instance>"
- class BitmapData(BitmapDataPtr):
- def __init__(self,arg0,arg1,arg2,*args) :
- self.this = apply(BaBxc.new_BitmapData,(arg0,arg1,arg2,)+args)
- self.thisown = 1
-
-
-
-
-
-
- #-------------- FUNCTION WRAPPERS ------------------
-
- ProcessBitmaps = BaBxc.ProcessBitmaps
-
- ShowBitmaps = BaBxc.ShowBitmaps
-
- nBitmaps = BaBxc.nBitmaps
-
- SaveFile = BaBxc.SaveFile
-
- LoadFile = BaBxc.LoadFile
-
-
-
- #-------------- VARIABLE WRAPPERS ------------------
-
-